<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<%@ include file="/view/common/header.jsp"%> 
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>模型管理</title>
		<script type="text/javascript" src="${ctx}/js/jquery.etree.js"></script>
		<script type="text/javascript" src="${ctx}/js/jquery.etree.lang.js"></script>

	    <script type="text/javascript">
					$(function(){
						$('#tt').etree({
							  url: 'tree_data.json'
						});
					});
		</script>
	</head>
<body style="margin:1px;">
	<h1>Editable Tree</h1>
	<div style="margin-bottom:10px">
		<a href="#" onclick="javascript:$('#tt').etree('create')">Create</a>
		<a href="#" onclick="javascript:$('#tt').etree('edit')">Edit</a>
		<a href="#" onclick="javascript:$('#tt').etree('destroy')">Destroy</a>
	</div>
	<ul id="tt"></ul>
</body>
</html>